PROJECT( TesterSandBox )
SET( PROGNAME TesterSandBox )

include_directories ("${PROJECT_SOURCE_DIR}\\..\\apoget")
#include_directories ("${PROJECT_SOURCE_DIR}\\..\\Middleware\\gtest\\include")
#include_directories ("${PROJECT_SOURCE_DIR}\\..\\Middleware\\gtest")
include_directories ("${PROJECT_SOURCE_DIR}\\..\\Middleware\\DirectX9\\Include")

#SET( GTEST_SOURCE "${PROJECT_SOURCE_DIR}/../Middleware/gtest/src/gtest-all.cc" )

#Headers
#------- 
SET (TesterSandBox_headers 
  SpaceWar.h
)

#Sources
#------- 
SET (TesterSandBox_sources 
  SpaceWar.cpp
  winmain.cpp
)

SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /subsystem:windows")
#Create Exec
#--------------
link_directories ("${PROJECT_SOURCE_DIR}\\..\\Middleware\\DirectX9\\Lib\\x86")
ADD_EXECUTABLE( ${PROGNAME} ${TesterSandBox_headers} ${TesterSandBox_sources})

#Linker
#------
TARGET_LINK_LIBRARIES (${PROJECT_NAME} 
 apoget
)
